#define  _CRT_SECURE_NO_WARNINGS
//9
int main()
{
	double t = 0.0;
	int n = 0;
	scanf("%lf%d", &t, &n);
	printf("%.3lf\n", t / n);
	printf("%d", 2*n);
	return 0;
}
